package com.hznu.jspFinal.dao;

import com.hznu.jspFinal.entity.QuestionType;

import java.util.List;

/**
 * @author jamesZhan
 */
public interface QuestionTypeMapper {
    QuestionType selectByPrimaryKey(Integer id);

    List<QuestionType> selectAll();

    QuestionType selectByQuestionName(String name);

    int deleteByPrimaryKey(Integer id);

    int insert(QuestionType questionType);

    int insertSelective(QuestionType questionType);

    int updateByPrimaryKeySelective(QuestionType questionType);
}
